
Free Online Weighted Average Calculator
Enter values and weights to find a weighted average, compare it with the plain average and see what the next item must score to hit a target.
A plain average treats every number equally. But often some numbers matter more than others: a final exam counts for more than a quiz, a large order counts for more than a small one, a long road section counts for more than a short one. The weighted average gives each value a weight that says how much it should count. This calculator does the arithmetic and shows how each item contributes.
The formula
Weighted average = Σ (value × weight) ÷ Σ weight
Multiply each value by its weight, add up those products, and divide by the total of the weights. The weights do not need to add up to 100 or to 1. They only matter in proportion to each other, so weights of 2, 3 and 5 behave the same as 20, 30 and 50.
How to use it
- Enter a label, a value and a weight for each row. Press Add row for more.
- Read the weighted average, the plain average for comparison, the total weight and the table of shares.
- Optionally type a target average and the weight of the next item. The tool tells you what value that item would need.
- Use “Paste from a list” to enter many rows quickly, one per line as “value, weight”.
A worked example
| Label | Value | Weight | Share | Value x weight |
|---|---|---|---|---|
| Test 1 | 78 | 2 | 20% | 156 |
| Test 2 | 85 | 3 | 30% | 255 |
| Project | 92 | 5 | 50% | 460 |
The weights add up to 10 and the products add up to 156 + 255 + 460 = 871. The weighted average is 871 ÷ 10 = 87.1. The plain average of 78, 85 and 92 is 85, which is lower, because the project, which has the highest weight, is also the best result. This is the main thing to see: the weighted average is pulled toward the values with larger weights.
What do I need to reach a target?
Say you want a weighted average of 90 after one more item that carries a weight of 5. You currently have a total weight of 10 and product total 871. The final total weight will be 15. The products must add up to 90 × 15 = 1,350. You already have 871, so the new item must contribute 479, and with a weight of 5 that needs a value of 479 ÷ 5 = 95.8. The tool gives you that figure, and you can see at once whether it is realistic. If the number is above the highest possible score, the target cannot be reached with that item alone.
Where weighted averages appear
- School grades. Assessments carry different weights, as the grade calculator shows.
- GPA. Course credits are weights.
- Prices. The average price paid for stock bought in several lots of different sizes.
- Surveys. Groups are weighted so a sample matches the whole population.
- Speed. Average speed over legs of different length or time.
- Business. Average cost of materials bought in different quantities.
A price example
A shop buys 100 units at 5 and 300 units at 6. The plain average of 5 and 6 is 5.50, but the shop bought three times as many at the higher price. The weighted average is (100 × 5 + 300 × 6) ÷ 400 = 2,300 ÷ 400 = 5.75. Using 5.50 would understate the real cost. This is why quantities act as weights in average-cost problems.
A quick way to check your answer
The weighted average must always fall between the smallest and the largest value in your list. If your answer is outside that range, something went wrong. It also tends to land closer to the value with the biggest weight. In the grade example, the project has half of the total weight and a value of 92, so the result of 87.1 sits much nearer to 92 than the plain average of 85 does. A quick mental check like this catches most typing mistakes before you rely on the number.
Common mistakes
- Taking a plain average when the items have different importance.
- Using percentages as weights and forgetting that the weights do not need to total 100.
- Putting the weight in the value box and the value in the weight box.
- Leaving a row with a value but no weight. It is ignored.
- Using negative weights, which are not meaningful here. The tool rejects them.
Privacy and limits
All work is done in your browser, and your rows are saved there for convenience, never uploaded. The tool handles up to 100 rows. If all weights are zero, no average can be formed and you will see a message. The results are shown rounded to the number of decimals you choose, but the calculation keeps the full precision your browser provides.
See also the plain average calculator, the percentage calculator and the basic math course. A good introduction to the ideas is how to calculate profit and loss.
Key takeaways
- Weighted average = sum of value times weight, divided by sum of weights.
- Weights only matter in proportion to each other.
- Heavier items pull the result toward their value.
- You can reverse the formula to find the value needed for a target.
Questions
What is a weighted average?
A weighted average is an average in which each value counts in proportion to a weight. You multiply every value by its weight, add the results and divide by the total weight. Values with larger weights pull the result toward themselves, unlike a plain average where every value counts equally.
Do my weights have to add up to 100?
No. Only their proportions matter. Weights of 2, 3 and 5 give the same result as 20, 30 and 50, because the total weight is divided out. You can use percentages, credits, quantities or any other positive numbers as weights, and the tool shows each item's share of the total.
How do I find the score needed to reach a target average?
Enter your target and the weight of the next item. The tool computes needed value = (target × (current weight + new weight) − current weighted total) ÷ new weight. For the sample, a target of 90 with a new weight of 5 needs 95.8, which tells you how realistic the target is.
When should I use a weighted average instead of a plain one?
Whenever the items are not equally important or equally large. Examples are course grades with different weights, an average price over purchases of different sizes and survey results from groups of different sizes. A plain average would give small items too much influence.
Why is the weighted average different from the simple average?
Because the weights change how much each value counts. If the highest values have the highest weights, the weighted average is above the simple average, and if the lowest values carry the largest weights, it is below. The two are equal only when all weights are the same.
